package homework_05;

public class home_03 {
    public static int zhishu(int n){
        int i,j,count=0;
        for (i=n;;i++){
            count=0;
            for(j=2;j<i;j++){
                if(i%j==0){
                    count++;
                }
            }
            if (count==0) {
                return i;
            }
        }
    }

    public static void main(String[] args) {
        int num=zhishu(201);
        System.out.println(num);
    }
}
